#pragma once

template<typename T>
struct CompareMax 
{
  bool operator()(const T &t1, const T &t2)
  {
    return t1 > t2;
  }
};

template<typename T>
struct CompareMin 
{
  bool operator()(const T &t1, const T &t2)
  {
    return t1 < t2;
  }
};
